﻿@model YCMS.Models.MemberListViewModel

@{
    ViewBag.Title = "Details";
}

<h2>Member Details</h2>

<fieldset>
    <legend>Member</legend>

    <div class="display-label">LastName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member.LastName)
    </div>

    <div class="display-label">MemberNumber</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member.MemberNumber)
    </div>

    <div class="display-label">FirstName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Member.FirstName)
    </div>
    <div class="display-label">Docks</div>
    <div class="display-field">
        @Html.DropDownList("DockID", (SelectList)Model.MembersDocks)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Member.ID, SortOrder = Model.SortOrder, page = Model.PageNumber }) |
    @Html.ActionLink("Back", "List", new { SortOrder = Model.SortOrder, page = Model.PageNumber })
</p>
